﻿using System;
using UnityEngine;

namespace IllusionUtility.SetUtility
{
	// Token: 0x02000348 RID: 840
	public static class TransformPositionEx
	{
		// Token: 0x06001534 RID: 5428 RVA: 0x0009126C File Offset: 0x0008F46C
		public static void SetPositionX(this Transform transform, float x)
		{
			Vector3 position = new Vector3(x, transform.position.y, transform.position.z);
			transform.position = position;
		}

		// Token: 0x06001535 RID: 5429 RVA: 0x000912A4 File Offset: 0x0008F4A4
		public static void SetPositionY(this Transform transform, float y)
		{
			Vector3 position = new Vector3(transform.position.x, y, transform.position.z);
			transform.position = position;
		}

		// Token: 0x06001536 RID: 5430 RVA: 0x000912DC File Offset: 0x0008F4DC
		public static void SetPositionZ(this Transform transform, float z)
		{
			Vector3 position = new Vector3(transform.position.x, transform.position.y, z);
			transform.position = position;
		}

		// Token: 0x06001537 RID: 5431 RVA: 0x00091314 File Offset: 0x0008F514
		public static void SetPosition(this Transform transform, float x, float y, float z)
		{
			Vector3 position = new Vector3(x, y, z);
			transform.position = position;
		}

		// Token: 0x06001538 RID: 5432 RVA: 0x00091334 File Offset: 0x0008F534
		public static void SetLocalPositionX(this Transform transform, float x)
		{
			Vector3 localPosition = new Vector3(x, transform.localPosition.y, transform.localPosition.z);
			transform.localPosition = localPosition;
		}

		// Token: 0x06001539 RID: 5433 RVA: 0x0009136C File Offset: 0x0008F56C
		public static void SetLocalPositionY(this Transform transform, float y)
		{
			Vector3 localPosition = new Vector3(transform.localPosition.x, y, transform.localPosition.z);
			transform.localPosition = localPosition;
		}

		// Token: 0x0600153A RID: 5434 RVA: 0x000913A4 File Offset: 0x0008F5A4
		public static void SetLocalPositionZ(this Transform transform, float z)
		{
			Vector3 localPosition = new Vector3(transform.localPosition.x, transform.localPosition.y, z);
			transform.localPosition = localPosition;
		}

		// Token: 0x0600153B RID: 5435 RVA: 0x000913DC File Offset: 0x0008F5DC
		public static void SetLocalPosition(this Transform transform, float x, float y, float z)
		{
			Vector3 localPosition = new Vector3(x, y, z);
			transform.localPosition = localPosition;
		}
	}
}
